package conson.tech.manage.app.entity.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * ClassName: CouponsCenter
 * Description:领券中心配置表
 * Author: ZYF
 * Date: 2020/07/20
 * Version: 1.0
 */
@Data
@TableName("coupons_center")
public class CouponsCenter {
    private static final long serialVersionUID = 4327659821954015806L;

    /**主键id*/
    private Long id;

    /**优惠券类型 枚举值：1 限时抢 2领券*/
    private Integer couponsType;

    /**活动开始时间*/
    private LocalDateTime startTime;

    /**活动结束时间*/
    private LocalDateTime endTime;

    /**开抢时间*/
    private LocalDateTime beginTime;

    /**每日秒杀总数量*/
    private Integer totalNum;

    /**每人可领券数量*/
    private Integer limitNum;

    /**显示顺序*/
    private Integer orderSrot;

    /**优惠券剩余数量*/
    private Integer surplusNum;

    /**优惠券批次id*/
    private Long batchId;

    /**优惠券批次名称*/
    private String batchName;

    /**创建人*/
    private Long createBy;

    /**创建时间*/
    private LocalDateTime createTime;

    /**修改时间*/
    private LocalDateTime updateTime;

    /**修改人*/
    private Long updateBy;

    /**申请人*/
    private Long applyId;

    /**活动id  -1限时抢 -2领券*/
    private Integer activityId;

    /**优惠券总数量 领券用*/
    private Integer countNum;

}
